<?php /* Smarty version 2.6.18, created on 2011-05-11 15:08:40
         compiled from bao_tri_accessgl.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri Access GL')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat" autocomplete="off">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	  	
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td align="left"><?php echo $this->_tpl_vars['lbl_POSID']; ?>
</td>
    <td width="67%" align="left"><input name="POSID" type="text" id="LEVELID" style=" background:<?php echo $this->_tpl_vars['colorPOSID']; ?>
;" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['POSID']; ?>
" size="20" maxlength="10" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readonly" <?php endif; ?>/>
      <span style="color:#FF0000"> * </span>
        <input type="hidden" onclick="mywindow = window.open('position_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findmicro" id="replacement_binoculars" value="     " /><input type="submit" name="find" value="     "  id="replacement_find"/></td>
    <td width="5%" align="left" nowrap="nowrap">&nbsp;</td>
    <td width="6%" align="left" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td align="left"><?php echo $this->_tpl_vars['lbl_BRNCODE_LIST']; ?>
 </td>
    <td align="left"><span style="color:#FF0000">
      <input name="BRNCODE" id="BRNCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorBRNCODE']; ?>
" value="<?php echo $this->_tpl_vars['BRNCODE']; ?>
" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');" />
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " />
  <input type="button" name="add_branhcode" id="add_branhcode" onclick="add_new_branhcode();" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  <input name="delete_branhcode" id="delete_branhcode" type="button" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style" onclick="delete_branh();"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </span></td>
  	<td nowrap="nowrap" align="left">&nbsp;</td>
    <td nowrap="nowrap" align="left">&nbsp;</td>
  </tr>  
  <tr>
    <td align="left">&nbsp;</td>
    <td align="left"><textarea name="LIST_BRANHCODE" id="LIST_BRANHCODE" readonly="readonly"><?php echo $this->_tpl_vars['LIST_BRANHCODE']; ?>
</textarea></td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left"><?php echo $this->_tpl_vars['lbl_ACTNO_LIST']; ?>
 </td>
    <td align="left"><select name="ACTNO_LIST" size="1" id="ACTNO_LIST" style=" background:<?php echo $this->_tpl_vars['colorPOSID']; ?>
;">
          
			<?php $_from = $this->_tpl_vars['cbo_accessgl_Account']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>			      
      
      <option value="<?php echo $this->_tpl_vars['v']; ?>
" <?php if ($this->_tpl_vars['v'] == $this->_tpl_vars['ACTNO_LIST']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
      
			<?php endforeach; endif; unset($_from); ?>
    
    </select>    </td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left"><?php echo $this->_tpl_vars['lbl_ACTNO']; ?>
 </td>
    <td align="left"><span style="color:#FF0000">
      <input name="ACTNO" id="ACTNO" onkeypress="return numberOnly(event);" type="text" style="background:<?php echo $this->_tpl_vars['colorACTNO']; ?>
" value="<?php echo $this->_tpl_vars['ACTNO']; ?>
" size="20" maxlength="20" />
      <input type="button" onclick="mywindow = window.open('acct_id.php?name=ACTNO&amp; id='+document.getElementById('ACTNO_LIST').value, 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd2" id="replacement_binoculars" value="     " />
  <input type="button" name="add_account" id="add_account" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onclick="add_new_acct();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  <input name="delete_account" onclick="delete_acct();" id="delete_account" type="button" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </span></td>
  	<td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
	<tr>
	  <td align="left">&nbsp;</td>
	  <td align="left"><textarea name="LIST_ACCOUNT" id="LIST_ACCOUNT" readonly="readonly"><?php echo $this->_tpl_vars['LIST_ACCOUNT']; ?>
</textarea></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td align="left"><?php echo $this->_tpl_vars['lbl_NOCO']; ?>
</td>
	  <td align="left"><select id="NOCO" name="NOCO" size="1" style=" background:<?php echo $this->_tpl_vars['colorNOCO']; ?>
;">	    
 		<?php $_from = $this->_tpl_vars['cbo_NOCO']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
	    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['NOCO'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>    
 		<?php endforeach; endif; unset($_from); ?>	  
	    </select>
	  <span style="color:#FF0000">
        <input type="button" name="add_noco" id="add_noco" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onclick="add_new_noco();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
          <input name="delete_nc" onclick="delete_noco();" id="delete_nc" type="button" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
        </span></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td>&nbsp;</td>
	  <td><textarea name="LIST_NOCO" id="LIST_NOCO" readonly="readonly"><?php echo $this->_tpl_vars['LIST_NOCO']; ?>
</textarea></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td><?php echo $this->_tpl_vars['lbl_LOAITIEN']; ?>
</td>
	  <td><select name="LOAITIEN" size="1" id="LOAITIEN" style="background:<?php echo $this->_tpl_vars['colorLOAITIEN']; ?>
;">  
 		<?php $_from = $this->_tpl_vars['cbo_LOAITIEN']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>	    
	    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['LOAITIEN'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
 		<?php endforeach; endif; unset($_from); ?>	    
	    </select>
	  <span style="color:#FF0000">
        <input type="button" name="add_loaitien" id="add_loaitien" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onclick="add_new_loaitien();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
          <input name="delete_tien" onclick="delete_loaitien();" id="delete_tien" type="button" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
        </span></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td>&nbsp;</td>
	  <td><textarea name="LIST_LOAITIEN" id="LIST_LOAITIEN" readonly="readonly"><?php echo $this->_tpl_vars['LIST_LOAITIEN']; ?>
</textarea></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	<tr>
	  <td><?php echo $this->_tpl_vars['lbl_INQ']; ?>
</td>
	  <td><select id="INQ" name="INQ" size="1" style="background:<?php echo $this->_tpl_vars['colorINQ']; ?>
;" disabled="disabled">
 		<?php $_from = $this->_tpl_vars['cbo_INQ_UPD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
	    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['INQ'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?> 
	    </select>      </td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
    </tr>
	

</tr>
<tr>
  <td><?php echo $this->_tpl_vars['lbl_POSNAME']; ?>
</td>
  <td colspan="3"  nowrap="nowrap"><span style="color:#FF0000">
    <input name="POSNAME" id="POSNAME" type="text" style="background:<?php echo $this->_tpl_vars['colorPOSNAME']; ?>
" value="<?php echo $this->_tpl_vars['POSNAME']; ?>
" size="50" maxlength="50" />
*</span></td>
</tr>
<tr>
  <td><?php echo $this->_tpl_vars['lbl_REMARK']; ?>
</td>
  <td colspan="3" nowrap="nowrap"><span style="color:#FF0000">
    <input name="REMARK" id="REMARK" type="text" style="background:<?php echo $this->_tpl_vars['colorREMARK']; ?>
" value="<?php echo $this->_tpl_vars['REMARK']; ?>
" size="50" maxlength="50" />
  </span></td>
  </tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'POSID');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['disabled'] == 'false'): ?> disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>